import EChartsLinePlugin from './line'
import EChartsPiePlugin from './pie'
import EChartsBarPlugin from './bar'
import EChartsMapPlugin from './map'
import EchartsMapEchartPlugin from './map-echart'

/**
 * 初始化图表插件
 */
export default function initEChartPlugin() {
  new EChartsLinePlugin().register('line')
  new EChartsPiePlugin().register('pie')
  new EChartsBarPlugin().register('bar')
  new EChartsMapPlugin().register('map')
  new EchartsMapEchartPlugin().register('map-echart')
}